package org.template.myplus1.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.template.myplus1.entity.StudentScore;

import java.util.List;

@Mapper
public interface StudentScoreDao extends BaseMapper<StudentScore> {

//    List<StudentScore> findByNameLike(@Param("name") String name);
    IPage<StudentScore> findByNameLike(IPage<StudentScore> page, @Param("name") String name);
}
